package com.qst.rongxiaotong.mapper;


import com.qst.rongxiaotong.pojo.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;


@Mapper
public interface AddressMapper {
    int insertSelective(Address address);

    List<Address> selectByExample(@Param("name")String name);

    Address selectOneByExample(String name,String isDef);

    int updateByPrimaryKey(Address address);

    Address selectByPrimaryKey(Integer id);

    int deleteByPrimaryKey(Integer id);
}
